[FIX] wrong variable used