tab into spaces and remove unused partials