fixed flatfile commit