fixed setting rootlevel type id