This wouldn't be necessary if you change `detectWeb`