[fix] Initialize fields to prevent NPE