added index fix