Changes ragards local indexes

i already checked the ranks too.