fixed bugs with showing geometries