fix simulation test
(cherry picked from commit e948e82ffa36f62656f5bd1c09cf258cfd01a35e)