fix bugs in person.getInfo