Fix broken nmap and s:offset error