removing all sub modules