fixes a problem with converting references to package objects