clean unused defines