fixed timeout bug in url()