fixed index references that caused 404 errors