simplify modules