fixed empty url taking everything over