adding deprecated tag support
merged deprecated-tags and fixes it