fixed issue with newer version of kaminari