fix unregistered notification handling
made the url history not include empty urls