remove the red border when cleaning errors