fix url function, for fault-tolerant capabilities.
update Config directory