fix xml object reader bug