Fix void transformation bug