merge contracts and common projects