Fix content detection