fixing pagination in sell-controller