fixing the problem with partials