fixed the external simulator