rename error to fail.