compatible with ray.aop 1.2