Fixed minor bug with dir router!