separated normalize url to method