fixing router for sub dir