fix a dependency bug