fix some url issues