another fix for issue #80 - changed from state (primitive) to the wrapping tag