fix foursquare hanging