improved printing of module list