add missing declaration of             $dispatcher