now set right contenttype