Fixed dispatcher bug where messages werent cleared