fixed rpath issue. sim_init calles EnterNotify after building hierarchy