updated neste-element workaround for bedextract
updated nested-element workaround for bedextract