fixed dropping of indexes
fix dropping indexes