[fix] use of a undefined variable