fix broke index classes