add missing then