fixing bug in nmcli command