fix  Content-Type overriding issue  #1760