Fixed problems with the time