little refactoring + small bugfix

when new route was an empty string router wasn't triggering the changes