rename package.ctx to package.parent and set correctly