Fix metadata problem for trans vars.