Fix weird NPE