error handling modified around view filter.