fix for broken river state API