fixes routes for express app