Fixed Facebook  ios errors