Fix strange NPE