Fix partial references