delete some defines which are not useful