add hook to rop use
remove global data from rop use