fix an malformed tag - output