fix outer layer package repackage issue.