bug fix when no command handlers are provided