added support for protect tag.