fixed the cahce so the request errors work correctly