add subitem support bugfix