commit before fetch