correctly reset geometry