fixed list_to_binary