fix 'to' and 'from' format config
use a working default for pdf output