deleting palindrome