fix old code breaking build

(oops)