small fixes for index view