merge 2 optional blocks