fixing url bugs