bugfix time in seconds not miliseconds