check url formating