remove ``0`` in the slice