finalizes all sources