fix directory router