move patch into XMI module source tree