Fix integer bug and zero out the random long