avoid error a list of length one