Fixed a bug when the response failed for more steps