Spell endif correctly