fixed url bugs