Index: bp-core/bp-core-component.php
===================================================================
--- bp-core/bp-core-component.php	(revision 5148)
+++ bp-core/bp-core-component.php	(working copy)
@@ -107,7 +107,6 @@ class BP_Component {
 
 		$defaults = array(
 			'slug'                  => $this->id,
-			'root_slug'             => '',
 			'has_directory'         => false,
 			'notification_callback' => '',
 			'search_string'         => '',
@@ -119,7 +118,8 @@ class BP_Component {
 		$this->slug          = apply_filters( 'bp_' . $this->id . '_slug',          $r['slug']          );
 
 		// Slug used for root directory
-		$this->root_slug     = apply_filters( 'bp_' . $this->id . '_root_slug',     $r['root_slug']     );
+		$root_slug 	     = isset( $bp->pages->{$this->id}->slug ) ? $bp->pages->{$this->id}->slug : '';
+		$this->root_slug     = apply_filters( 'bp_' . $this->id . '_root_slug',     $root_slug    );
 
 		// Does this component have a top-level directory?
 		$this->has_directory = apply_filters( 'bp_' . $this->id . '_has_directory', $r['has_directory'] );
