v.ref sync() bug