removed unwanted characters from the end of #endif preprocessor directive