hook cahcne by methodId and using ArrayList instead of TreeSet, disabled XResources