diff --git a/setup.sh b/setup.sh
index 7ba6aa00c639e187ba16fc2b064bc04ebe03c0d0..77eb1f213c94577a36e1e91cf1a69d0100b7ba39 100755
--- a/setup.sh
+++ b/setup.sh
@@ -6,11 +6,6 @@ cd elgg/mod
 # Our Plugins
 ln -s ../../cas_auth cas_auth
 ln -s ../../customindex customindex
-ln -s ../../plugins/flexprofile_mj flexprofile
 ln -s ../../unl_theme unl_theme
-ln -s ../../plugins/flexfile flexfile
-ln -s ../../plugins/flexgroupprofile flexgroupprofile
-#ln -s ../../plugins/flexprofile flexprofile
-ln -s ../../plugins/form form
 
 
diff --git a/unl_theme/views/default/page_elements/header.php b/unl_theme/views/default/page_elements/header.php
index 327b44e3255008d0f5ddabf115886287962db81c..0350a8899f23e45226c4d76aaee9f2b4be38c8e7 100644
--- a/unl_theme/views/default/page_elements/header.php
+++ b/unl_theme/views/default/page_elements/header.php
@@ -47,7 +47,7 @@ echo $feedref;
 echo elgg_view('metatags',$vars); 
 ?>
 <?php 
-if ($vars[title] == "Edit profile") {
+if ($vars['title'] == "Edit profile") {
 ?>
 <script type="text/javascript">
 (function(){
@@ -75,4 +75,4 @@ if ($vars[title] == "Edit profile") {
 </script>
 <?php 
 }
-?>
\ No newline at end of file
+?>