fixed init of simulator

Change-Id: I51c80d0b44027a699f1ca350a6c17eb84c9f1965