fix a bug that page number show uncorrectly and uncheck the checked item