minor fix on new slice length