Fixing index error ofr NAM4km