fixed the sample format