fixing router rout overwrite