ensure that nth_el is never zero