removes dependency reference