Fixed input in displayPersons