save before creating partials