remove unnecessary closure
remove closure wrap in examples thanks to compose 2.0
remove unused var