[FIX] condition on samelevel ids