Fixed set.append bug