fix github url
use XMLStreamWriter instead of StringBuild