Removed incorrect exit statement