permalink error correction