added dirty exit error