closes #288 and #195 at least the "ValueError: 0 not in range -2147483648 to 2147483647" errors are gone