Fixed content-type error bug