fix duplicated sources