quote 'EOF' to avoid unnecessary parameter expansion was happen