Theme index fix