dispatcher bugfixes
dispatcher debugging.