fix with index