Fix bad slots count for some case