remove datetime warning