remove unneeded defines