handle non json response's