fix error in level index view