filter and pagination algorithm are changed