Fix issue pointing wrong location in heredoc