repair mistakes