Fixed content-type bug