Fix loaded from NPE.
Merge pull request #193 from square/dimitris/lf-fix

Fix loaded from NPE.