hookcollection may return 0 on attach