fix dependency bug, two more to go