fix query person bug