updated for intermittent display errors