change way to override pagination hash(without test)