comment pThat (edm migration, to be fixed eventually)
correct initialization sequence
adapt to new compiler