Fixed bug with getRange