Fixed bug with setting collection