Fix createPerson method