fix commandDispatcher if no commandqueue is used