[fix] issue with long, invalid urls that leads to endless reloading