Responses now work perperly on errors