Fixed bug when status is not 200