fix index buttom