fixed a bug for the routes