Fixed exit error