Facebook detection fix