fixed content type bug