hack: forward agent config option
Fix invalid strings