fix undefined global

the cobbler's children go barefoot :)