remove redundant top level element