diff --git a/group_mapping_from_node.module b/group_mapping_from_node.module
index 603ce3c..0c4038e 100755
--- a/group_mapping_from_node.module
+++ b/group_mapping_from_node.module
@@ -16,6 +16,11 @@ use Drupal\node\NodeInterface;
  * Adds the Group form element to the node form.
  */
 function group_mapping_from_node_form_node_form_alter(&$form, FormStateInterface $form_state, $form_id) {
+  // avoid altering when node is added directly from group interface
+  if (\Drupal::routeMatch()->getRouteName() == 'entity.group_content.create_form') {
+    return;
+  }
+
   // Current value for group list.
   $current_groups = [];
   // Load the Group plugin service.
