formatting url istance