fixed pdf converting