fix drag index value