found the error - have to remove the UnitDouble thing - it's nonsense