diff --git a/Source/Scene/imstkScene.cpp b/Source/Scene/imstkScene.cpp
index 751faecd8825fae3778f4bedf81b7adb06186ae0..0a80c598aa30bd9a3d54a7190cc781619a703108 100644
--- a/Source/Scene/imstkScene.cpp
+++ b/Source/Scene/imstkScene.cpp
@@ -357,7 +357,7 @@ Scene::getLight(const std::string& lightName) const
 void
 Scene::addLight(const std::string& name, std::shared_ptr<Light> newLight)
 {
-    if (this->getLight(name) != nullptr)
+    if (m_lightsMap.find(name) != m_lightsMap.cend())
     {
         LOG(WARNING) << "Can not add light: '" << name
                      << "' is already registered in this scene.";