fix specification instance on cleanup interceptor