fix wrong type transform for dex