cleanup unused defines