fixed dropIndex