fix the init mime