Fix never-ending error loop.