fixed sourceArr bug