[FIX] Logic error