replace Mysis' broken code with Mysis' working code

(have not tested)