Fixed missing then