fixes #100

if Stanox was null got unhandled exception