Multi device issue with context init