fixed a bug in the infinite scroll and dynamic filtering