fixed a dependence error