some bugs corrected
+ FLOW MOD BUG
FLOW_MOD refactored