cleaning up dispatcher