move the due_events import too... whew! this should be it