fix bug of query person in views