tweaks to pagination