swapped one bug for another, stupid deadstore error.