Fixing unclosed string