no need to unset pkg variable