Merge trime patch