fixed collection initialization bug