Fix for crash when initially connecting to FB