bugfix heredoc syntax