problem with waiting for facebook to load