fixing more console NPE