fix buddiesByIds