more valid package support with clean sub-pkg support