update palindrome number, fix some corner case issue