Fixes get index file