merge fetch_head