fixed bugs adressing group-permission-issues