Automatically do error correction