fixed an issue with the time scaling