player index fix