Fixing issues with bash group