fixed anti-persistent simulator bug