Fixed auto merge issue.