index pg fixes