fixed bad bug when no next execution date is set