Modify errors display logic