fixing DynamicProxy