merge contexts