fix sample processing.