segfaults due to modules not being removed from robograms