remove datetime warning 2