Fixed crash occuring when no url was found