fix a bug when binding different properties on the same object