fixed bug to skip certain URLs