problems with index view