removed checking pdf from config.xml