remove old module instance