Fixes cache preventing error handling