Fixed bug when using GUI to collection options