regenerate package with namespace