fix config, amt bug when there's no replacevalues and amt view when there's no jobconf