fixed random_modular

have to take out duplicates from todrop list