Fix bug in nmap commands