fix for https://github.com/nathanmarz/storm/issues/495