changed to not show errors on production