fixed getting group id