minor problems on index solved