fix dependency bug.