Rm unnecessary ref