fix missing page margin settings
Merge pull request #512 from chrox/master

fix missing page margin settings