fix sources after remove orphan