Bug fix for non 200 statuse response