Fix an NPE.