Fix geometry.cc