editing cron

im running crontab -e as root, I keep getting, I set my editor to EDITOR=vi...

# crontab -e
477

Once you set EDITOR=vi, you need to export EDITOR

got it! needed to export editor