fixed issue with getting person by id