solve the segment fault, cannot assign c to c
config_strip:remove the empty chars