remove unused config field
let config.cond to proper type