fixed files not cascade-deleting