clean errors