bugfix for visible property of modules