fixed more issues on dependencies