fix missing var (thanks @justinvdm)