add missing #endif