Fix the routes not match problem
Add job directory formatter helper method