added index.html if url = null