Fix config.pp error and improve parser validate task