fix when content-type is not auto