Fix pdf setting;