Fix issue when first change #url to #, was ignored