diff --git a/src/CallModel.cpp b/src/CallModel.cpp
index 71653f719a4184ff0b4241b28799b0913e0f0988..1ab0b331702d7af890349c91b2aced98ba88b28c 100644
--- a/src/CallModel.cpp
+++ b/src/CallModel.cpp
@@ -19,18 +19,3 @@
  ***************************************************************************/ 
 #include <CallModel.h>
 
-
-
-
-//template<> QString CallModel<InternalCallModelStruct>::priorAccountId;
-//template<> AccountList* CallModel<InternalCallModelStruct>::accountList;
-//template<> bool CallModel<InternalCallModelStruct>::instanceInit(false);
-//template<> bool CallModel<InternalCallModelStruct>::callInit(false);
-//template<> bool CallModel<InternalCallModelStruct>::historyInit(false);
-
-//template<> QHash<QString, Call*> CallModel<InternalCallModelStruct>::activeCalls;
-//template<> QHash<QString, Call*> CallModel<InternalCallModelStruct>::historyCalls;
-//template<> QHash<Call*, InternalCallModelStruct*> CallModel<InternalCallModelStruct>::privateCallList_call;
-//template<> QHash<QString, InternalCallModelStruct*> CallModel<InternalCallModelStruct>::privateCallList_callId;
-
-
diff --git a/src/CallModel.h b/src/CallModel.h
index 7e7da8a3b2e345cbab13dbcf2445c4861f16c92f..f7294806b89b90aefe46874225b64860aa437694 100644
--- a/src/CallModel.h
+++ b/src/CallModel.h
@@ -16,7 +16,7 @@
  *   along with this program; if not, write to the                         *
  *   Free Software Foundation, Inc.,                                       *
  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
- ***************************************************************************/ 
+ **************************************************************************/
 
 #ifndef CALL_MODEL_H
 #define CALL_MODEL_H
@@ -44,20 +44,6 @@
  *  @note This model intend to be reimplemented by the view, not used alone
  *  @note Most of the member are static to preserve ressources and QObject::connect()
  */
-
-
-// template  <typename T, typename Index> class CallModel;
-// template  <typename Widget, typename Index> class InternalCallModelStruct : public QModelIndex {
-//    
-//    friend class CallModel<Widget,Index>;
-//    //InternalCallModelStruct* parent;
-//    Widget* call;
-//    Call* call_real;
-//    Index* treeItem; //For the view
-//    QList<InternalCallModelStruct*> children; //For the view
-//    bool conference;
-// };
-
 template  <typename CallWidget, typename Index>
 class LIB_EXPORT CallModel {
    //Q_OBJECT
@@ -71,6 +57,9 @@ class LIB_EXPORT CallModel {
       CallModel(ModelType type);
       virtual ~CallModel() {}
 
+      virtual bool initCall();
+      virtual bool initHistory();
+      
       virtual Call* addCall(Call* call, Call* parent =0);
       int size();
       Call* findCallByCallId(QString callId);
@@ -148,17 +137,13 @@ class LIB_EXPORT CallModel {
 	 QList<InternalCallModelStruct*> children; //For the view
 	 bool conference;
       };
-      typedef QHash<Call*, InternalCallModelStruct*> InternalCall;
-      typedef QHash<QString, InternalCallModelStruct*> InternalCallId;
+      typedef QHash<Call*, InternalCallModelStruct*>      InternalCall;
+      typedef QHash<QString, InternalCallModelStruct*>    InternalCallId;
       typedef QHash<CallWidget, InternalCallModelStruct*> InternalWidget;
-      typedef QHash<Index, InternalCallModelStruct*> InternalIndex;
+      typedef QHash<Index, InternalCallModelStruct*>      InternalIndex;
       
       static QHash<QString, Call*> activeCalls;
-      static QHash<QString, Call*> historyCalls;/*
-      static QHash<Call*, InternalCallModelStruct<T, Index>* > privateCallList_call;
-      static QHash<QString, InternalCallModelStruct<T, Index>* > privateCallList_callId;
-      static QHash<T, InternalCallModelStruct<T, Index>* > privateCallList_widget;
-      static QHash<Index, InternalCallModelStruct<T, Index>* > privateCallList_index;*/
+      static QHash<QString, Call*> historyCalls;
       
       static InternalCall privateCallList_call;
       static InternalCallId privateCallList_callId;
@@ -170,8 +155,6 @@ class LIB_EXPORT CallModel {
       static AccountList* accountList;
       static bool callInit;
       static bool historyInit;
-      virtual bool initCall();
-      virtual bool initHistory();
 
    private:
       static bool instanceInit;
diff --git a/src/CallModel.hpp b/src/CallModel.hpp
index a04ec7407a0b3218c448a6b67aba8cebd7b2972b..c00046d9854908789f1f8a82e6e8fad1b96ad09e 100644
--- a/src/CallModel.hpp
+++ b/src/CallModel.hpp
@@ -67,11 +67,12 @@ template<typename CallWidget, typename Index> bool CallModel<CallWidget,Index>::
 //Fill the history list
 //@warning This solution wont scale to multiple call or history model implementation. Some static addCall + foreach for each call would be needed if this case ever become unavoidable
 template<typename CallWidget, typename Index> bool CallModel<CallWidget,Index>::initHistory()
-{
-   if (!historyInit) {
+{qDebug() << "\n\n\n\nInit history";
+   if (!historyInit) {qDebug() << "In if";
       ConfigurationManagerInterface& configurationManager = ConfigurationManagerInterfaceSingleton::getInstance();
       QStringList historyMap = configurationManager.getHistory().value();
-      foreach (QString historyCallId, historyMap) {
+      qDebug() << historyMap.size();
+      foreach (QString historyCallId, historyMap) {qDebug() << "Here";
          QStringList param = historyCallId.split("|");
          if (param.count() <= 10) {
             //If this ever change, look at the gnome client