Make Facebook code robust against missing location