save geometry