optimize `Collection`
fix examples
build lib
`static` won't work in strict mode