fix become master bug