fixed bug with creating new person object