bugfix in ref interceptor