fix bug in fetching linked users