stupid bugfix for a notice bug in collection