Fix nearbys bug