fix bug Query report processor
fix xml bug in simulation file