remove html entity and null chars only