setPage method's bug fixed