fix destroysourcestream always false bug