fixed incorrect title updating