fix to show error class