fix user hierarchy