fixed a dependency bug