handle correctly 2xx status code