change string conversion
use const for constant defs