fix gui timer