Fixed XML loading