fixed read-only preventing shred from working