[fix] declaring undefined