flatten list `x`,x = [i[0] for i in x]