fixed some formatting issues in index view