Fixed undefined  variable. Issue #95