error display works