prevent NPE
prevent NPE