some bugs in heredoc and double-quoted string