fixed bug with purging / url