fixed a bug when using valueLink