fixed Url bugs