Fix bug, modifiedness scoring