bugfix with paused time