fix DEG bug with emitting string constants