Support lower version then 2.1.
Fixed bug for call back cellSize.