fix partials type mistake