fixed async creating of multiple xml files