error messages don't need @cacheProgressControl, so I moved everything out of the if statement