DateTime error fixed when on server