fix brackets in url