fix bug on collect
clear source