Fix error in setting up set