fixed problem when adding new module