remove some defines