spec for custom check
minimize races in childs matching
fix doc