correcao de bug no NameCommand.