fixed heredoc syntax