fixed assignment.index view.