prevent splice with 0 or -ve values