diff --git a/misc-scripts/xref_mapping/XrefParser/RFAMParser.pm b/misc-scripts/xref_mapping/XrefParser/RFAMParser.pm
index 34c060e23dd49ecef72cc41fca096dc2dc74fefb..2c37046d3adc84dfe4f682ff2e22660b0ca17fda 100644
--- a/misc-scripts/xref_mapping/XrefParser/RFAMParser.pm
+++ b/misc-scripts/xref_mapping/XrefParser/RFAMParser.pm
@@ -6,7 +6,6 @@ use Carp;
 use DBI;
 
 use base qw( XrefParser::BaseParser );
-use XrefParser::Database;
 use Bio::EnsEMBL::Registry;
 
 sub run {
@@ -36,7 +35,7 @@ sub run {
       {
         '-host'     => 'ens-staging2',
         '-user'     => 'ensro',
-      } 
+      },
   );
 
   #get the species name
diff --git a/misc-scripts/xref_mapping/XrefParser/RFAMParser_EG.pm b/misc-scripts/xref_mapping/XrefParser/RFAMParser_EG.pm
index d792ca3d6282dc087e3f1ae616a3fb3ed9e45f9b..7e86ab5abd039c94848f2c164a991517de772763 100644
--- a/misc-scripts/xref_mapping/XrefParser/RFAMParser_EG.pm
+++ b/misc-scripts/xref_mapping/XrefParser/RFAMParser_EG.pm
@@ -6,7 +6,6 @@ use Carp;
 use DBI;
 
 use base qw( XrefParser::BaseParser );
-use XrefParser::Database;
 use Bio::EnsEMBL::Registry;
 
 sub run {