check the URL to make it run in right way