fixed preprocessor statements