cut off parameters if route is "."