remove stray endif