ValidPalindrome recommit changes