fixed xml stuff