fixed incorrect looping in spacing mixin