caught nil case for url