remove '/ui' from routes