fixed redundant source adding