Fix problem with modification log