refactor process title to keep it DRY