fix index when report row is being clicked