fix doc and empty content-type