fix type wrapping on call