fix a sample, and extract the buggy part to a new sample