fixed order for url check...