applied Ph's patch regarding geom and lt initialization