change icon url to relative url