Previously with the 2cm bottom margin, the documentation was cutting off the page number about half way, so I increase the bottom margin from 2 to 3cm.