restore format on routes