fixed bug in sidebar_routes and other small adjustments