fix pdf page settings