reformat code
bugfix for group not in namespace