fix bug that disable content-type