Adding class to error omit list