[BUGFIX] date expects parameter 2 to be long, string given