replace dependency