fix the samples exception...