changes to index
fix to previous error