fixed some issues when create the vulns and discard not neccesary data