prevent ordinal data for obs.resid