fixed outputScale and working on moth