fixed editing of route bug
loading from xml fixed (no need to assign random ids)