better error display for registration