fixed dependency generator bug