         
         @table ?= new Table()
         @data ?= new GeneData()
-        @vfform = new GeneForm('Virulence Factor', 'vf')
-        @amrform = new GeneForm('Antimicrobial Resistance', 'amr')
+        @vfform ?= new GeneForm('Virulence Factor', 'vf')
+        @amrform ?= new GeneForm('Antimicrobial Resistance', 'amr')
         @sidebar ?= new Sidebar()
 
         return

                ])
            ])

        renderSubmit = (ctrl) ->
            return m('div', {class: 'tab-content'}, [
                m('div', {class: 'tab-pane active', id: 'gene-search-querygenes'}, [
                    m('div', {class: 'panel-group genes-search', id: 'accordian'}, [

                when 'submit' then return renderSubmit(ctrl)
                else return m('h1', @activeTab())

        renderGeneForm = (ctrl) =>
            return m('div', {class: 'tab-content'}, [
                m('div', {class: 'tab-pane active', id: 'gene-search-querygenes'}, [
                    m('div', {class: 'panel-group genes-search', id: 'accordian'}, [
                        @vfform.view()
                        @amrform.view()
                    ])
                ])
            ])

        renderGenomeSearch = (ctrl) =>
            return m('div', {class: 'tab-content'}, [
                m('div', {class: 'tab-pane active', id: 'gene-search-querygenes'}, [
                    m('div', {class: 'panel-group genes-search', id: 'accordian'}, [
