add hideSingleLevel feature