fix file commit, supporting backend generator