fix bugs for person objects