fix url input check