prevent error loading error-stats in development