changed gui.primary_panel to gui.primary_panel.dom