bug fix: modularity: if m == 0