fix. reference to _tag and call to attribute in sync and resync methods.

Change-Id: I2481f810b823dcac3eed7566a397542b42ca9c6e