fix selector pagination