image index fix