Fixes index view