added saving all positions from xml
fixed xml parsing