compile error correction