fix missing PyDispatcher