Daniel's fix for facebook.