fixed duplicate sources issue