modify module list
add flowremoved function, correct mismatch problem