updated GM LocK / and XMLib2 error