Fixed a crash issue.

Fixes #57