fix palindromes