fix format of URL