remove datetime for grouping