fix the bug of checkbox's being unchecked when entering the next page again