fix issue with escaped urls