diff --git a/modules/gui/src/scene_selection.cc b/modules/gui/src/scene_selection.cc
index 1ef2ee7ce38eab22a77ef5e9501b349c62150b73..1a57947757e1ab0392e87936dc9774f46392b44f 100644
--- a/modules/gui/src/scene_selection.cc
+++ b/modules/gui/src/scene_selection.cc
@@ -55,7 +55,7 @@ void SceneSelection::SetActiveNodes(gfx::NodePtrList nodes, gfx::EntityP entity,
 }
 
 gfx::GfxNodeP SceneSelection::GetActiveNode(unsigned int pos) const{
-  if(pos >= 0 && pos < nodes_.size()){
+  if(pos < nodes_.size()){
     return nodes_[pos];
   }
   else{
@@ -72,7 +72,7 @@ int SceneSelection::GetActiveViewCount() const{
 }
 
 mol::EntityView SceneSelection::GetActiveView(unsigned int pos) const{
-  if(pos >=0 && pos < views_.size()){
+  if(pos < views_.size()){
     return views_[pos].GetEntityView();
   }
   else{
diff --git a/modules/gui/src/sequence_viewer/alignment_view_object.cc b/modules/gui/src/sequence_viewer/alignment_view_object.cc
index f5a08689be49aed7959370840aa7f2ce89dc79c2..1ba35dae8e5537ee4a4149f22293f3e476af3077 100644
--- a/modules/gui/src/sequence_viewer/alignment_view_object.cc
+++ b/modules/gui/src/sequence_viewer/alignment_view_object.cc
@@ -69,19 +69,6 @@ QMap<QString,int> GetGroupMap(){
   return map;
 }
 
-QColor GetColor(int cons){
-  int color = 255 - int((float(cons) / 100) * 200);
-  return QColor(color,color,color);
-}
-
-QColor GetForeGroundColor(QColor background){
-  if(background == Qt::transparent){
-    return Qt::black;
-  }
-  int gray = 255 - background.red();
-  return QColor(gray,gray,gray);
-}
-
 }
 
 QMap<QString,int> AlignmentViewObject::group_map_ = GetGroupMap();