fixed edit program nil error
added a @dj variable to edit