Added missing semicolon.
Removed then from exitWith.