fix pagination and select option