fixed timer bug in Gui window