fix index
fix sample