adding handler interceptor to plugin