fix title edit bug