remove dependency loop