prevent keys and vals from going out of sync due to bad CSV