fixing issues with converting betwen oz to packages and vice versa