NPE safety