fixing the 0-0 index being 0