fixed: Typo (missing then statement)