commit master mode