fix bugs in metasploit resource file