Fix NPE in LIFReader