crash when changing simulation speed