currentstate: fix unit conversion