this function has been called after removing html tags. check call location.