fix some hook address issues