Fixed typo in dispatcher relating to allowmodules