fix bug with partials