fix curl, use tag attributes