bug fix in rosetta script