diff --git a/src/utils/proteinstore.cpp b/src/utils/proteinstore.cpp
index e7312b0b630d21b96c377a0984f44327bbb58fb3..98195342ea2c701c162c278cd2f36fda17c74785 100644
--- a/src/utils/proteinstore.cpp
+++ b/src/utils/proteinstore.cpp
@@ -121,9 +121,9 @@ void ProteinStore::setContaminantAccession(QString accession) {
         it->second.get()->setIsContaminant(true);
     }
 }
-ProteinXtpSp & ProteinStore::getInstance(ProteinXtpSp & peptide_in) {
+ProteinXtpSp & ProteinStore::getInstance(ProteinXtpSp & protein_in) {
 
-    std::pair<std::map< QString, ProteinXtpSp>::iterator,bool> ret = _map_accession_protein_list.insert(std::pair<QString, ProteinXtpSp>(peptide_in.get()->getAccession(),peptide_in));
+    std::pair<std::map< QString, ProteinXtpSp>::iterator,bool> ret = _map_accession_protein_list.insert(std::pair<QString, ProteinXtpSp>(protein_in.get()->getAccession(),protein_in));
 
     if (ret.second) {
         //the protein is new in the store, update content