fix automerge issue