Fixed bug causing the geometry to fail on the  method;