fix: added closetag for person if last line in file is F