CORS and fix balance_changes order