fixed accessing m_sources without locking first