revise to new version flux