fix buggy deleting of .xml instead of data folder