loadxmldoc error, needs to be fixed