added temp patch file (when xpsgen.py corrected, delete this file)