fixed syntax error on selectmenu refresh