make sure edited is in xml