fix autoslice rounding