Fix 2 level when