put cursor to 0 when collecting friends of a user