fix bug in classes in index