fix bug: module activation and deactivation wrong view