fix index
fix resume