Fixes manual url loading logic