the command name and method can't be empty!