fix crash

Author His Dad <John@hisdad.org>
Author date 2015-10-13 18:18:20
Author local date 2015-10-14 07:18:20 +1300
Committer His Dad <John@hisdad.org>
Committer date 2015-10-13 18:18:20
Committer local date 2015-10-14 07:18:20 +1300
Commit 519cfb68d01a9785daacd63a8cf751ce10d7c473
Tree 23553da85a249dff7d18cf2f6f1f49e4acad4454
Parent 116a34855ea396641836e091d50e2ff13642c651
fix crash