fix file commit, supporting subnet generation