Hi all after a lot of efforts I fixed above issue. Actually above nested containers are coming because of I was not properly closing BEGIN_MARKED_CONTENT_SEQ(BDC) and BEGIN_MARKED_CONTENT (BMC) operators. so keep in mind before starting another operator(like BDC or BMC) first close current operator. Thanks