9 prevent crash

this addresses #9