fixed problem with redundant module import in taskDispatcher.