fixed (position of) wrong #endif