get last vuln of the list
code optimization