auto formatting friends.xml