fix an unclosed string