fix time type mistake