[fix] undefined error