fix with native type resolving