improved error display logic and look