fix dep compile error