fixed edit command.