Fixed a bug in sending the time from the server