cleanup module dependencies