fixes in Value.toString