Fix null pointer error.
Preparing for release v0.7.8