solve constant string be defined twice