fix palindrome