removes advanced partials