Missing check if submit command is used