fixed preprocessor directives