to do: fix enable/disable of modules