make correct check for group mode