Fixed bug of marking when renaming places.