[fix] undefined variable