stupid bugfix for a notice bug in collection
bugfix for the annoying PHP 5.3 collection bug