timer bugfix!