fixed bad preprocessor cases