modify ui and server to relative link