fix old code breaking build

// FREEBIE
Merge pull request #1339 from mcginty/broken-build

fix old code breaking build