setting interceptors only if needed