fixed heredoc