fix depends bug