fixed AFJSONRequest to handle failures