Fixed heredoc syntax error