Fixed two bugs in Geo class.