removing sub-modules