Heredoc fix