raise cmd_dispatch Invalid_argument more specificly