Solve the root and smile routes bug