fixed issue with from_unsigned