fixed some jape file. python is written to clean up the xml