fix bad references to constant strings