better tag formatting