fix compile error. remove unused dependencies.