fix encoding issue in khadem models