refactoring + discard url if it's smaller than the smallest mobile url possible