bug fix when iterating on an axis with single value
single axis bug fix