integrate old rivers to keep compatibility