Fix if url was set