fix pkg references