Get rid of junk at the end of #endifs.