fix a bug in the new route