clean up character string definitions