fix wire config