work with content-type a bit better