diff --git a/Excel/model/autofilters.js b/Excel/model/autofilters.js
index 9a1f973343d995e75dd92e987d62d3c754f400d1..8cea42bdc7ad6c1dc081dc35513f47539d44237c 100644
--- a/Excel/model/autofilters.js
+++ b/Excel/model/autofilters.js
@@ -877,16 +877,16 @@ var maxIndividualValues = 10000;
 				return result;
 			},
 			
-			getSizeButton: function(range)
+			getSizeButton: function(c, r)
 			{
 				var ws = this.worksheet;
 				var result = null;
 				
-				if(this.isCellContainsAutoFilterButton(range.c1, range.r1))
+				if(this.isCellContainsAutoFilterButton(c, r))
 				{
 					var height = 11;
 					var width = 11;
-					var rowHeight = ws.rows[range.r1].height;
+					var rowHeight = ws.rows[r].height;
 					var index = 1;
 					if(rowHeight < height)
 					{
diff --git a/Excel/view/WorksheetView.js b/Excel/view/WorksheetView.js
index cd2ca900f2f34ff745c335a865163ebd632edf05..9bd847f102e90e0a55e54ad2cd8e3396c9d51696 100644
--- a/Excel/view/WorksheetView.js
+++ b/Excel/view/WorksheetView.js
@@ -10007,7 +10007,7 @@
 					}
 					width = Math.max(width, tm.width);
 				} else {
-					filterButton = this.autoFilters.getSizeButton({c1: col, r1: row});
+					filterButton = this.autoFilters.getSizeButton(col, row);
 					if (null !== filterButton && CellValueType.String === ct.cellType)
 						width = Math.max(width, ct.metrics.width + filterButton.width);
 					else