fix a bug with the datetime