error display working