avoid geometry option clash when using e.g. A4

also fix counter bug