XML load fix