disable view errors on production