fixing geometry