prevent pin schedules of zero length