modify Valid_Palindrome