diff --git a/src/bias/ActionRegister.h b/src/bias/ActionRegister.h
index 90d6ccb53fa5c5a352164c6e48df2ecc016af85a..59c08864d1fd4ed9f520faa70a9b04c40ca24acb 100644
--- a/src/bias/ActionRegister.h
+++ b/src/bias/ActionRegister.h
@@ -19,7 +19,7 @@
    You should have received a copy of the GNU Lesser General Public License
    along with plumed.  If not, see <http://www.gnu.org/licenses/>.
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
-#ifndef __PLUMED_bias/_ActionRegister_h
-#define __PLUMED_bias/_ActionRegister_h
+#ifndef __PLUMED_bias_ActionRegister_h
+#define __PLUMED_bias_ActionRegister_h
 #include "core/ActionRegister.h"
 #endif
diff --git a/src/bias/Bias.h b/src/bias/Bias.h
index 75b1db06a98b673373c51756a6aea63a4a8d47e2..9dbbc72374d5ba295e7ecafd5f57494d98102ec4 100644
--- a/src/bias/Bias.h
+++ b/src/bias/Bias.h
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU Lesser General Public License
    along with plumed.  If not, see <http://www.gnu.org/licenses/>.
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
-#ifndef __PLUMED_bias/_Bias_h
-#define __PLUMED_bias/_Bias_h
+#ifndef __PLUMED_bias_Bias_h
+#define __PLUMED_bias_Bias_h
 
 #include "core/ActionPilot.h"
 #include "core/ActionWithValue.h"