improved title in-place replacement