Fixed a dumb exit error