fix missing global on course classifier ondelete