fix #else problem