Fixed routing error and date format