fixed issue where vectors werent clearing after a bad file