fixing pagginator / type conflict error