Fixed NODOM mode's NPE