Fixed a bug in collection settings