fixed content type detection for turtle