dont register listeners on collection if its undefined