fix flue endpoints for testing