fixed write support for tags
fixed tag editing support