TAG: mecha simulator script bug fix