little pagination fixes