bugfix: ug to mg conversion inverted