fix loop in 2.4 dependencies