fix bug in merge_blue