add \'top\' and \'left\' when saving xml file