fixed some paging pages free logic