Bugfix in the get current time.