there is a bug that Friend is not the only table we should visit