remove chardet