Fix page numbering (contributed by shk)