fix a bug in merchant new design pagination