[BUGFIX] foldertree for v6 thx to Witali Rott