before_merge