Bugfix: remove fix wrong where clause in static routes