fixed a bug I introduced in the last big commit