fixed yet another instance of flipped logic.  working now