fixed group id directory handling