remove nxSession factory injection