Fixed some url bugs