fix options.partials was modified by consolidate