how to correctly remove a subpackage ?