fixed xml upload