Fix tag editing