set search box text when entering url directly