Fixed bug where I try to append to set