use buildUrl with link