handling 'to much recursion' error in URLUtils.openURL